/**
 * Created by Administrator on 2017/8/8.
 */
const mongoose = require('../lib/mongo');
const Schema = mongoose.Schema;

const UserSchema = new Schema({
  username: {
    type: String
  }, //用户账号
  company: {
    type: String
  }, // 公司名称
  pass: {
    type: String
  }, //密码
});

module.exports = mongoose.model('User', UserSchema);
